package com.wangyk.rabbitmqconsole.service.impl;

import com.wangyk.rabbitmqcommon.model.console.Category;
import com.wangyk.rabbitmqconsole.dao.CategoryMapper;
import com.wangyk.rabbitmqconsole.service.CategoryService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description:
 * @Author: wangyk
 * @CreateDate: 2019/1/8$ 10:29$
 * @UpdateUser: wangyk
 * @UpdateDate: 2019/1/8$ 10:29$
 * @UpdateRemark:
 * @Version: 1.0
 */
@Service
public class CategoryServiceImpl implements CategoryService
{
    private Logger logger = LogManager.getLogger(CategoryServiceImpl.class);

    @Resource
    private CategoryMapper categoryMapper;

    @Override
    public Category selectUserById(Integer categotyId)
    {
        Category Category = categoryMapper.selectByPrimaryKey(categotyId);
        return Category;
    }
}
